package com.gagakuai.bpm.service.camunda.impl;


import com.gagakuai.bpm.dao.mapper.camunda.HmilyTryLogMapper;
import com.gagakuai.bpm.domian.entity.camuda.HmilyTryLog;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class HmilyTryLogServiceImpl implements HmilyTryLogService {

    @Resource
    private HmilyTryLogMapper hmilyTryLogMapper;

    @Override
    public int deleteByPrimaryKey(String txNo) {
        return hmilyTryLogMapper.deleteByPrimaryKey(txNo);
    }

    @Override
    public int insert(HmilyTryLog record) {
        return hmilyTryLogMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(HmilyTryLog record) {
        return hmilyTryLogMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(HmilyTryLog record) {
        return hmilyTryLogMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(HmilyTryLog record) {
        return hmilyTryLogMapper.insertSelective(record);
    }

    @Override
    public HmilyTryLog selectByPrimaryKey(String txNo) {
        return hmilyTryLogMapper.selectByPrimaryKey(txNo);
    }

    @Override
    public int updateByPrimaryKeySelective(HmilyTryLog record) {
        return hmilyTryLogMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(HmilyTryLog record) {
        return hmilyTryLogMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<HmilyTryLog> list) {
        return hmilyTryLogMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<HmilyTryLog> list) {
        return hmilyTryLogMapper.batchInsert(list);
    }

}

